package com.winhxd.b2c.system.dao;

import com.winhxd.b2c.common.domain.system.org.condition.SysOrgCondition;
import com.winhxd.b2c.common.domain.system.user.model.SysOrg;
import org.springframework.stereotype.Repository;

import java.util.List;

/*
 *部门mapper
 * @author shumin
 * @date  2019/1/7 0007 10:55
*/
@Repository
public interface SysOrgMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysOrg record);

    int insertSelective(SysOrg record);

    SysOrg selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysOrg record);

    int updateByPrimaryKey(SysOrg record);
    /* *
     *条件查询部门列表
     * @author shumin
     * @date  2019/1/7 0007 14:56
    */
    List<SysOrg> selectOrgPageList(SysOrgCondition condition);
}